package com.gali.springcloud;

import com.gali.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @Auther: gali
 * @Date: 2022/7/9-07-09-20:56
 * @Description:
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name="MICROSERVICECLOUD-PROVIDER-8001",configuration= MySelfRule.class)
public class DeptConsumer80{
    public static void main(String[] args) {
        SpringApplication.run(DeptConsumer80.class,args);
    }
}
